--
-- created with TexturePacker (http://www.texturepacker.com)
--
-- $TexturePacker:SmartUpdate:d0435cb8b8372f8217e595833e915d8e$
--
-- local sheetInfo = require("myExportedImageSheet") -- lua file that Texture packer published
--
-- local myImageSheet = graphics.newImageSheet( "ImageSheet.png", sheetInfo:getSheet() ) -- ImageSheet.png is the image Texture packer published
--
-- local myImage1 = display.newImage( myImageSheet , sheetInfo:getFrameIndex("image_name1"))
-- local myImage2 = display.newImage( myImageSheet , sheetInfo:getFrameIndex("image_name2"))
--

local SheetInfo = {}

SheetInfo.sheet =
{
    frames = {
    
        {
            -- bottomcorner
            x=90,
            y=270,
            width=90,
            height=90,

        },
        {
            -- bottomcornerdark
            x=90,
            y=180,
            width=90,
            height=90,

        },
        {
            -- bottomright
            x=90,
            y=90,
            width=90,
            height=90,

        },
        {
            -- corners
            x=360,
            y=0,
            width=90,
            height=90,

        },
        {
            -- entirefall
            x=270,
            y=0,
            width=90,
            height=90,

        },
        {
            -- entirefalldark
            x=180,
            y=0,
            width=90,
            height=90,

        },
        {
            -- entirefalllight
            x=90,
            y=0,
            width=90,
            height=90,

        },
        {
            -- entireterrain
            x=0,
            y=360,
            width=90,
            height=90,

        },
        {
            -- topleftfall
            x=0,
            y=270,
            width=90,
            height=90,

        },
        {
            -- topleftfalldark
            x=0,
            y=180,
            width=90,
            height=90,

        },
        {
            -- toplefttrans
            x=0,
            y=90,
            width=90,
            height=90,

        },
        {
            -- toprightfall
            x=0,
            y=0,
            width=90,
            height=90,

        },
    },
    
    sheetContentWidth = 512,
    sheetContentHeight = 512
}

SheetInfo.frameIndex =
{

    ["bottomcorner"] = 1,
    ["bottomcornerdark"] = 2,
    ["bottomright"] = 3,
    ["corners"] = 4,
    ["entirefall"] = 5,
    ["entirefalldark"] = 6,
    ["entirefalllight"] = 7,
    ["entireterrain"] = 8,
    ["topleftfall"] = 9,
    ["topleftfalldark"] = 10,
    ["toplefttrans"] = 11,
    ["toprightfall"] = 12,
}

function SheetInfo:getSheet()
    return self.sheet;
end

function SheetInfo:getFrameIndex(name)
    return self.frameIndex[name];
end

return SheetInfo
